package com.topisv.tms.service.lpn;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.topisv.tms.entity.lpn.StorageLink;
import com.topisv.tms.repository.lpn.StorageLinkDao;

@Component
@Transactional(readOnly = true)
public class StorageLinkService {
    
    @Autowired
    private StorageLinkDao storageLinkDao;
    
    public void save(Iterable<StorageLink> storageLinks) {
        storageLinkDao.save(storageLinks);
    }
    
    public void save(StorageLink storageLink) {
        storageLinkDao.save(storageLink);
    }
    
}
